

package com.maoshi.shop.seckill.comment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.maoshi.shop.seckill.comment.model.SeckillSku;

import java.util.List;

/**
 * 秒杀活动sku
 *
 * @author LGH
 * @date 2019-08-28 09:36:59
 */
public interface SeckillSkuService extends IService<SeckillSku> {

    List<SeckillSku> listSeckillSkuBySeckillId(Long seckillId);

    void removeSeckillSkuCacheBySeckillId(Long seckillId);

    SeckillSku getSeckillSkuById(Long seckillSkuId);

    void removeSeckillCacheSkuById(Long seckillSkuId,Long seckillId);
}
